/*
 * @Author: zhaozhehao zhaozhehao@erayt.com
 * @Date: 2023-06-05 09:57:36
 * @LastEditors: zhaozhehao zhaozhehao@erayt.com
 * @LastEditTime: 2023-06-05 15:19:13
 * @Description: 
 * 
 */
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import LivePageVue from '@/views/LivePage.vue'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path:'/live',
    name:'live',
    component:LivePageVue
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
